<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:74:"/data/www/sfadmin/public/../application/admin/view/admin_user/details.html";i:1488527668;s:76:"/data/www/sfadmin/public/../application/admin/view/template/base_iframe.html";i:1488527668;}*/ ?>
<head>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui/css/H-ui.min.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/css/H-ui.admin.css"/>
    <link rel="stylesheet" type="text/css" href="__LIB__/Hui-iconfont/1.0.7/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/h-ui.admin/css/style.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__/css/app.css"/>
    
</head>
<body>



    <div id="tab_demo" class="HuiTab">
        <table class="table table-border table-bg table-bordered">
          <thead>
            <tr>
                <th width="20%">信息</th>
                <th>描述</th>
            </tr>
          </thead>
          <tbody>
            <tr class="success"><th>用户帐号</th><td><?php echo (isset($data['username']) && ($data['username'] !== '')?$data['username']:"--"); ?></td></tr>
            <tr class="success"><th>真实姓名</th><td><?php echo (isset($data['realname']) && ($data['realname'] !== '')?$data['realname']:"--"); ?></td></tr>
            <tr class="success"><th>最后登录时间</th><td><?php echo date("Y-m-d H:i:s",$data['last_login_time']); ?></td></tr>
            <tr class="success"><th>最后登录IP</th><td><?php echo (isset($data['last_login_ip']) && ($data['last_login_ip'] !== '')?$data['last_login_ip']:"--"); ?></td></tr>
            <tr class="success"><th>登录次数</th><td><?php echo (isset($data['login_count']) && ($data['login_count'] !== '')?$data['login_count']:"--"); ?></td></tr>
            <tr class="success"><th>邮箱</th><td><?php echo (isset($data['email']) && ($data['email'] !== '')?$data['email']:"--"); ?></td></tr>
            <tr class="success"><th>电话</th><td><?php echo (isset($data['mobile']) && ($data['mobile'] !== '')?$data['mobile']:"--"); ?></td></tr>
            <tr class="success"><th>状态</th><td><?php echo !empty($data['status'])?'开启' : '禁用'; ?></td></tr>
            <tr class="success"><th>能否删除</th><td><?php echo !empty($data['isdelete'])?'可以' : '不能'; ?></td></tr>
            <tr class="success"><th>注册时间</th><td><?php echo date("Y-m-d H:i:s",$data['create_time']); ?></td></tr>
            <tr class="success"><th>更新时间</th><td><?php echo date("Y-m-d H:i:s",$data['update_time']); ?></td></tr>
            <tr class="success"><th>所属用户组
            </th><td>
                <?php if(is_array($groups) || $groups instanceof \think\Collection): $i = 0; $__LIST__ = $groups;if( count($__LIST__)==0 ) : echo "--" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
                    <?php echo $v['group_name']; endforeach; endif; else: echo "--" ;endif; ?>
            </td></tr>
          </tbody>
        </table>


    </div>



<script type="text/javascript">
    var PUBLIC = '__PUBLIC__';
    var REQUIRE__JS = '__REQUIRE__JS__';
</script>
<!--require Js -->
<script src="__REQUIRE__JS__/require.config.js"></script>
<script src="__REQUIRE__JS__/require.js"></script>
<script src="__PUBLIC__/common/js/functions.js"></script>

	<!-- <script type="text/javascript" src="__AJS__/admin_user/edit.js"></script> -->

</body>
